
import './locale/nls';

import 'monaco-editor/esm/vs/basic-languages/javascript/javascript.contribution';
import 'monaco-editor/esm/vs/basic-languages/mysql/mysql.contribution';
import 'monaco-editor/esm/vs/language/json/monaco.contribution';


import * as monaco from 'monaco-editor/esm/vs/editor/edcore.main';
import EditorWorker from 'monaco-editor/esm/vs/editor/editor.worker?worker';
import JsonWorker from 'monaco-editor/esm/vs/language/json/json.worker?worker';




export { format as formatSql } from 'sql-formatter';
export {
  monaco,
  EditorWorker,
  JsonWorker,
};
// import { formatDialect } from 'sql-formatter';
// import { mysql } from 'sql-formatter/lib/languages/mysql/mysql.formatter';
// export function formatSql(sql, cfg = {}) {
//   return formatDialect(sql, { dialect: mysql, ...cfg })
// }





